package projeto1;

import java.awt.BorderLayout;
import java.awt.FlowLayout;

import javax.swing.JButton;
import javax.swing.JDialog;
import javax.swing.JPanel;
import javax.swing.border.EmptyBorder;
import javax.swing.JLabel;
import java.awt.Font;
import java.awt.event.ActionListener;
import java.awt.event.ActionEvent;
import javax.swing.ImageIcon;


public class ErroLogin extends JDialog {

	/**
	 * Launch the application.
	 */
	public static void main(String[] args) {
		try {
			ErroLogin dialog = new ErroLogin();
			dialog.setDefaultCloseOperation(JDialog.DISPOSE_ON_CLOSE);
			dialog.setVisible(true);
		} catch (Exception e) {
			e.printStackTrace();
		}
	}

	/**
	 * Create the dialog.
	 */
	public ErroLogin() {
		setBounds(100, 100, 427, 228);
		getContentPane().setLayout(null);
		
		JLabel lblUsurioEouSenha = new JLabel("Usu\u00E1rio e/ou senha inv\u00E1lidos. Digite novamente.");
		lblUsurioEouSenha.setFont(new Font("Arial", Font.BOLD, 13));
		lblUsurioEouSenha.setBounds(35, 138, 326, 18);
		getContentPane().add(lblUsurioEouSenha);
		
		JLabel lblNewLabel = new JLabel("ERRO#####");
		lblNewLabel.setFont(new Font("Arial Black", Font.BOLD, 14));
		lblNewLabel.setBounds(127, 11, 134, 14);
		getContentPane().add(lblNewLabel);
		
		JLabel lblNewLabel_1 = new JLabel("");
		lblNewLabel_1.setIcon(new ImageIcon("C:\\Users\\vania\\Desktop\\customLogo.gif.jpg"));
		lblNewLabel_1.setBounds(0, 11, 501, 145);
		getContentPane().add(lblNewLabel_1);
	}
}
